<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Greendizer_Containers_Buyers_MessageContainer</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Greendizer_Containers_Buyers_MessageContainer</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Represents an message container for buyers in Greendizer</p>
	<ul class="tags">
				<li><span class="field">copyright:</span> Copyright (c) 2009-2010, Greendizer S.A - All rights reserved.</li>
				<li><span class="field">license:</span> Greendizer/License.txt</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Containers---Buyers---MessageContainer.php.html">/Containers/Buyers/MessageContainer.php</a> (line <span class="field"><a href="../../__filesource/fsource_Greendizer_Containers_Greendizer_Containers_Buyers_ContainersBuyersMessageContainer.php.html#a37">37</a></span>)
		</p>
		
				
		<pre><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html">Greendizer_DAL_Container</a>
   |
   --<a href="../../Greendizer_Containers/Greendizer_Containers_MessageContainerBase.html">Greendizer_Containers_MessageContainerBase</a>
      |
      --Greendizer_Containers_Buyers_MessageContainer</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																								<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
										<a href="#create" title="details" class="method-name">create</a>
											(<span class="var-type">array</span>&nbsp;<span class="var-name">$resourceProperties</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Collections/Greendizer_Collections_Buyers/Greendizer_Collections_Buyers_InvoiceCollection.html">Greendizer_Collections_Buyers_InvoiceCollection</a></span>
										<a href="#getAll" title="details" class="method-name">getAll</a>
										()
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
										<a href="#getById" title="details" class="method-name">getById</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Collections/Greendizer_Collections_Buyers/Greendizer_Collections_Buyers_MessageCollection.html">Greendizer_Collections_Buyers_MessageCollection</a></span>
										<a href="#search" title="details" class="method-name">search</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$queryString</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
										<a href="#send" title="details" class="method-name">send</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html">Greendizer_DAL_Container</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#var$baseUri">Greendizer_DAL_Container::$baseUri</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#var$client">Greendizer_DAL_Container::$client</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcreate" id="create"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">create</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Containers_Greendizer_Containers_Buyers_ContainersBuyersMessageContainer.php.html#a86">86</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates and returns a message object</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
		<span class="method-name">
			create
		</span>
					(<span class="var-type">array</span>&nbsp;<span class="var-name">$resourceProperties</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$resourceProperties</span><span class="var-description">: Key/Value pairs of property names and values</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodcreate">Greendizer_DAL_Container::create()</a></dt>
						<dd>Creates a resource and returns the server response</dd>
					</dl>
			
	</div>
<a name="methodgetAll" id="getAll"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getAll</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Containers_Greendizer_Containers_Buyers_ContainersBuyersMessageContainer.php.html#a66">66</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a collection containing all the messages available</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Collections/Greendizer_Collections_Buyers/Greendizer_Collections_Buyers_InvoiceCollection.html">Greendizer_Collections_Buyers_InvoiceCollection</a></span>
		<span class="method-name">
			getAll
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetAll">Greendizer_DAL_Container::getAll()</a></dt>
						<dd>Returns a collection containing all the resources available</dd>
					</dl>
			
	</div>
<a name="methodgetById" id="getById"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getById</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Containers_Greendizer_Containers_Buyers_ContainersBuyersMessageContainer.php.html#a56">56</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retrieves a message given its ID</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
		<span class="method-name">
			getById
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: message ID</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetById">Greendizer_DAL_Container::getById()</a></dt>
						<dd>Retrieves a resource given its ID</dd>
					</dl>
			
	</div>
<a name="methodsearch" id="search"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">search</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Containers_Greendizer_Containers_Buyers_ContainersBuyersMessageContainer.php.html#a45">45</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the collection of messages for a search query</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Collections/Greendizer_Collections_Buyers/Greendizer_Collections_Buyers_MessageCollection.html">Greendizer_Collections_Buyers_MessageCollection</a></span>
		<span class="method-name">
			search
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$queryString</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$queryString</span><span class="var-description">: Query of the search</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodsearch">Greendizer_DAL_Container::search()</a></dt>
						<dd>Returns the collection of resources for a search query</dd>
					</dl>
			
	</div>
<a name="methodsend" id="send"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">send</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Containers_Greendizer_Containers_Buyers_ContainersBuyersMessageContainer.php.html#a76">76</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sends a new message and returns its object</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
		<span class="method-name">
			send
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$text</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$text</span><span class="var-description">: Message text</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_Containers/Greendizer_Containers_MessageContainerBase.html#methodsend">Greendizer_Containers_MessageContainerBase::send()</a></dt>
						<dd>Sends a new message and returns its object</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Greendizer_Containers/Greendizer_Containers_MessageContainerBase.html">Greendizer_Containers_MessageContainerBase</a></span></p>
					<blockquote>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_Containers/Greendizer_Containers_MessageContainerBase.html#methodsend">Greendizer_Containers_MessageContainerBase::send()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html">Greendizer_DAL_Container</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#method__construct">Greendizer_DAL_Container::__construct()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodcreate">Greendizer_DAL_Container::create()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetAll">Greendizer_DAL_Container::getAll()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetBaseUri">Greendizer_DAL_Container::getBaseUri()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetById">Greendizer_DAL_Container::getById()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetClient">Greendizer_DAL_Container::getClient()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodgetTotal">Greendizer_DAL_Container::getTotal()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Container.html#methodsearch">Greendizer_DAL_Container::search()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Tue, 07 Feb 2012 12:10:27 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>